package beautiful.butterfly.schedule.zookeeper;

public class Version {

    public final static String version = "schedule-0.0.01";

    public static String getVersion() {
        return version;
    }

    /**
     * 兼容的,高兼容低
     */
    public static boolean isCompatible(String version) {
        if (Version.version.compareTo(version) >= 0) {
            return true;
        } else {
            return false;
        }
    }

}
